{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{% if not hide_nav_cta %}
  <div class="c-navigation-shoulder">
    {% if not custom_nav_cta %}
      {% if not hide_nav_download_button %}
        {{ download_firefox_thanks(alt_copy=ftl('download-button-download-firefox'), dom_id='protocol-nav-download-firefox', button_class='mzp-t-secondary mzp-t-md', download_location='nav') }}
      {% endif %}
      {% if not hide_nav_get_vpn_button %}
      <div class="c-navigation-vpn-cta-container">
        {{ vpn_product_referral_link(
          referral_id='navigation',
          page_anchor='#pricing',
          link_text=ftl('navigation-v2-get-mozilla-vpn'),
          class_name='mzp-t-product mzp-t-secondary mzp-t-md',
          optional_attributes= {
            'data-cta-text' : 'Get Mozilla VPN',
            'data-cta-type' : 'vpn',
            'data-cta-position' : 'navigation'
          }
        ) }}
      </div>
      {% endif %}
    {% else %}
      {{ custom_nav_cta }}
    {% endif %}
  </div>
{% endif %}
